package cn.csc.module.order.api.order.dto;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Date;

/**
 * 订单项VO
 *
 * @author FrozenWatermelon
 * @date 2020-12-04 11:27:35
 */
@Data
public class OrderItemDTO {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单项ID" )
    private BigInteger id;

    @ApiModelProperty(value = "店铺id" )
    private BigInteger shopId;

    @ApiModelProperty(value = "第三方用户id" )
    private String appUserId;

    @ApiModelProperty(value = "订单id" )
    private BigInteger orderId;

    @ApiModelProperty(value = "产品ID" )
    private BigInteger spuId;

    @ApiModelProperty(value = "产品SkuID" )
    private BigInteger skuId;

    @ApiModelProperty(value = "用户Id" )
    private BigInteger userId;

    @ApiModelProperty(value = "购物车产品个数" )
    private Integer count;

    @ApiModelProperty(value = "产品名称" )
    private String spuName;

    @ApiModelProperty(value = "sku名称" )
    private String skuName;

    @ApiModelProperty(value = "产品主图片路径" )
    private String pic;

    @ApiModelProperty(value = "单个orderItem的配送类型1.快递物流(默认）,2.送货上门,3.自提" )
    private Integer deliveryType;

    @ApiModelProperty(value = "加入购物车时间" )
    private Date shopCartTime;

    @ApiModelProperty(value = "产品价格" )
    private BigDecimal price;

    @ApiModelProperty(value = "商品总金额" )
    private BigDecimal spuTotalAmount;

	@ApiModelProperty(value = "发货改变的数量" )
	private Integer changeNum;


}
